package com.itcanteen.medical.common.constant;

import lombok.Getter;

/**
 * @author 六金
 */

@Getter
public enum CommonStatus {
    /**
     * 成功
     */
    VALID(0,"有效状态"),
    /**
     * 失败
     */
    INVALID(-1,"无效状态");

    private final Integer code;
    private final String desc;

    CommonStatus(Integer code,String desc){
        this.code = code;
        this.desc = desc;
    }

}
